-- Language Pack
-- 语言包

-- 所有语言公用部分
CommonPack = {
TC = "TinyCraft",
Developer = "bk194232658\ndt_st9\nlee7404",
Version = TCVersionMain.." "..TCVersion,
Credits = "Credits",
Powered = "Powered By Codea"
}

Chinese = {
StartGame = "开始游戏",
Setting = "设置",
Back = "< 返回",
ViewDistance = "视野距离：",
Normal = "正常",
Big = "大",
Small = "小",
Low = "低",
Medium = "中",
High = "高",
GraphicQuality = "画质：",
HighQuality = "高品质",
LowQuality = "流畅",
ShowBob = "视角摇晃：",
Enabled = "开",
Disabled = "关",
Advanced = "高级",
SelectMap = "选择地图",
CreateNewMap = "创建新地图",
MapSeed = "新地图种子：",
MapSize = {
Small = "小地图",
Normal = "普通地图",
Big = "大型地图",
Infinity = "无限地图(alpha)"
},
CreatingMap = "创建地形中",
RenderingChunk = "渲染区块中",
ResumeGame = "返回游戏",
BackToMenu = "返回至主菜单",
AndSave = "并保存",
OpenConsole = "显示调试命令行",
PauseGame = "暂停游戏",
PreLoadChunk = "区块预加载：",
Develop = "由 TC Studio 制作",
MainDeveloper = "主要开发人员",
HideGui = "隐藏Gui：",
SmoothLight = "平滑光照：",
DarkEx = "平滑光照渐暗指数：",
Brightness = "亮度：",
NoSaveFile = "没有存档",
Size = "大小：",
CreatedTime = "创建时间：",
Seed = "种子：",
LoadMap = "载入地图",
DeteteMap = "删除地图",
LastPlayed = "上次载入：",
FlatTerrain = "超平坦：",
WorldMode = "世界类型：",
NormalMap = "普通地图",
FlatMap = "超平坦地图",
ThirdPersonView = "第三人称视角："
}


English = {
StartGame = "Start",
Setting = "Setting",
Back = "< Back",
ViewDistance = "ViewDistance：",
Normal = "Normal",
Big = "Big",
Small = "Small",
Low = "Low",
Medium = "Medium",
High = "High",
GraphicQuality = "GraphicQuality：",
HighQuality = "High",
LowQuality = "Low",
ShowBob = "ShowBob：",
Enabled = "Enabled",
Disabled = "Disabled",
Advanced = "Advanced",
SelectMap = "SelectMap",
CreateNewMap = "Create New Map",
MapSeed = "MapSeed：",
MapSize = {
Small = "SmallMap",
Normal = "NormalMap",
Big = "LargeMap",
Infinity = "InfinityMap"
},
CreatingMap = "Generating Terrain",
RenderingChunk = "Rendering Chunks",
ResumeGame = "Resume",
BackToMenu = "Back To Menu",
AndSave = "And Save",
OpenConsole = "Open Console",
PauseGame = "Pause",
PreLoadChunk = "PreloadChunk：",
HideGui = "HideGui：",
SmoothLight = "SmoothLight：",
DarkEx = "平滑光照渐暗指数：",
Brightness = "Brightness：",
NoSaveFile = "No Saved File",
Size = "Size：",
CreatedTime = "CreatedTime：",
Seed = "Seed：",
LoadMap = "Load Map",
DeteteMap = "Detete Map",
LastPlayed = "Last Played：",
FlatTerrain = "Flat Terrain：",
WorldMode = "World Mode：",
NormalMap = "Normal Map",
FlatMap = "Flat Map",
ThirdPersonView = "Third Person View："
}

--[[German = {
StartGame = "Beim Spielstart",
Setting = "Satz",
Back = "< Gibt",
ViewDistance = "Sichtweite：",
Normal = "Normal",
Big = "Große",
Small = "Kleine",
GraphicQuality = "Bildqualität：",
HighQuality = "Qualitativ hochwertige",
LowQuality = "Glatt",
ShowBob = "Ansicht-shake：",
Enabled = "Offene",
Disabled = "Schalten Sie die",
Advanced = "Senior",
SelectMap = "Wählen Sie Karte",
MapSeed = "Karte-Samen：",
MapSize = {
Small = "Kleine Karte",
Normal = "Übersichtskarte",
Big = "Große Karte"
},
CreatingMap = "Erstellen von Gelände",
RenderingChunk = "Render Blöcke",
ResumeGame = "Zurück zum Spiel",
BackToMenu = "Zurück zum Hauptmenü",
OpenConsole = "Display-Debug-Befehlszeile",
PauseGame = "Sie das Spiel pausiert",
EnableShader = "Aktivierten Shader：",
PreLoadChunk = "Block Vorspannung："
}]]

-- 小黄字
YellowText = [[
Haha,LOL!
Made with Codea!
BK!!!
Codea!
Play with a pig!
2015!
HugeCraft!
TinyCraft!
DT!
LEE!
You can try HugeCraft!
We have some problems
Only in iPad!
你好，中国
Hello,World!
Go Away!
2014-8-8
Weeeeeeeeee!
Fly High!
How Can I Save The Game! 
Codea is the best!
Lua is the best!
This is not minecraft!
7000+ lines of Code!
Not Infinity Map!
]]

-- 设置语言
function setLanguage(languagePack)
    LP = languagePack
    for k,v in pairs(CommonPack) do
        LP[k] = v
    end
end

-- 载入小黄字
function setupYellowText()
    YellowText = string.split(YellowText,"\n")
end

setLanguage(Chinese)
